package com.sunjs.order.service.impl;

import com.sunjs.model.Users;
import com.sunjs.order.dao.UsersMapper;
import com.sunjs.order.service.UsersService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author sunguoliang
 * @create 2018-09-25 下午2:15
 */
@Service
public class UsersServiceImpl implements UsersService {

    @Autowired
    private UsersMapper usersMapper;

    @Override
    public Users findById(Integer id) {
        return usersMapper.findById(id);
    }
}